package com.imddysc.dwz.repository;

import java.util.Optional;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.imddysc.dwz.entity.Links;

public interface LinksRepository extends JpaRepository<Links, Long> {

	@Query("select links from Links links where links.url = ?1")
	Optional<Links> findByUrl(String url);


}
